Advanced Customization

 

Portal© allows you many custom features that allow you to modify the appearance and functionality of certain things.  This file describes some of the more abstract things you can add to the program to make it more “yours.”  Please check this help file for each version for new ways to make your Portal© the best.  This file assumes that you have an above average knowledge of programming.

 

Custom Status Images

Portal© allows you the ability to change the default images that appear.  Below is a list of the images and the associated filename.

 

Status Image Filename
HP (hit points) HP.bmp
SP (spell points) SP.bmp
GP1 (guild points 1) GP1.bmp
GP2 (guild points 2) GP2.bmp
Enemy (main enemy icon) Enemy.bmp
Enemy Low (skull) EnemyLow.bmp
Enemy Median (blood drop) EnemyMedian.bmp
Enemy High (shield) EnemyHigh.bmp
Enemy Better (aqua enemy icon) EnemyBetter.bmp

 

“Ok, so what’s that do for me?”

 

Well, these filenames are special.  When you copy one into the Portal© program directory (default is C:\Program Files\Portal), when Portal© is launched, the program looks for any HP.bmp, SP.bmp, etc. files in the program directory.  If it finds any, the default status images (HP, SP, etc.) will be replaced by those with a corresponding filename in the program directory.

 

For example, you can create a custom HP.bmp file, located in the program directory, and when Portal© launches, the custom image contained in the file will be loaded to all the hit point images in the program.  If there’s an SP.bmp file, the image contained in that file will be loaded to all spell point images, and so on.

 

There are only a few points to remember when designing your image:

 

·   You can use any paint/drawing program to create the images, but they must be saved in the Windows bitmap (*.bmp) format.

·   The images must be 16x16 pixels in size.  Anything drawn beyond 16x16 will be ignored.

·   The images support transparent backgrounds.  The very lower left pixel controls which color will appear transparent.  If that pixel is colored silver, then ALL silver pixels in the image will be transparent.  If you need to use silver in your actual image, color the lower left pixel in a different color.  Usually the transparent color is the same as the background color.  Don’t be afraid to use a bright color like yellow to define the background/transparent color either, as it will not appear in the final image.

 

Allowing Multiple Instances of Portal©

Portal© allows you to invoke multiple instances if you desire.  To accomplish this, simply create a dummy file allowmultiple.co in the root Portal© directory.

 

This is NOT recommended, and could cause some bad things if your computer can't handle the strain.  Use at your own risk!